package cn.itcast.service.cargo;


import cn.itcast.domain.cargo.Shipping;
import cn.itcast.domain.cargo.ShippingExample;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ShippingService {

    Shipping findById(String id);

    List<Shipping> findAll(ShippingExample example);

    void save(Shipping shipping);

    void update(Shipping shipping);

    void delete(String id);

	PageInfo<Shipping> findByPage(ShippingExample example, int pageNum, int pageSize);

}
